#include "Linked.h"

void test1(SLL** sll)
{
	SLLpushBack(sll, 1);
	SLLpushBack(sll, 1);
	SLLpushBack(sll, 6);
	SLLpushBack(sll, 1);
	SLLpushBack(sll, 1);
	SLLprint(sll);
	/*SLLPopBack(sll);
	SLLprint(sll);
	SLLPopBack(sll);
	SLLprint(sll);
	SLLPopBack(sll);
	SLLprint(sll);
	SLLPopBack(sll);
	SLLprint(sll);
	SLLPopBack(sll);
	SLLprint(sll);*/
	SLL*ret = SLLFind(sll, 6);
	printf("%p\n", ret);
	SLInsert(sll, 1, 7);
	SLLprint(sll);
}



void test2(SLL** sll)
{
	SLLPushFront(sll, 1);
	SLLPushFront(sll, 2);
	SLLPushFront(sll, 3);
	SLLPushFront(sll, 4);
	SLLPushFront(sll, 5);
	SLLPushFront(sll, 6);
	SLLPushFront(sll, 7);
	SLLPushFront(sll, 8);
	SLLprint(sll);
	SLLPophFront(sll);
	SLLprint(sll);
	SLLPophFront(sll);
	SLLprint(sll);
	SLLPophFront(sll);
	SLLprint(sll);
	SLLPophFront(sll);
	SLLprint(sll);
	SLLPophFront(sll);
	SLLprint(sll);
	SLLPophFront(sll);
	SLLprint(sll);
	SLLPophFront(sll);
	SLLprint(sll);
}









int main()
{
	SLL* sll = NULL;
	test1(&sll);
	return 0;
}